package cn.highset.modules.base.service;

import cn.highset.base.HighsetBaseService;
import cn.highset.common.vo.SearchVo;
import cn.highset.modules.base.entity.Exhibitor;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * 展商接口
 *
 * @author Victor
 */
public interface ExhibitorService extends HighsetBaseService<Exhibitor, String> {

    /**
     * 多条件分页获取
     *
     * @param exhibitor
     * @param searchVo
     * @param pageable
     * @return
     */
    Page<Exhibitor> findByCondition(Exhibitor exhibitor, SearchVo searchVo, Pageable pageable);

    /**
     * 多条件分页获取（小程序）
     *
     * @param exhibitor
     * @param pageable
     * @return
     */
    Page<Exhibitor> findByConditionByApi(Exhibitor exhibitor, Pageable pageable);
}
